<?php

// $Id$

require_once($WSC->get_site_inc_dir().'modules/tangra_cms/_sys/tcms_admin_page_w_grid_ua.class.php');
require_once($WSC->get_site_inc_dir().'modules/tangra_cms/grids/menus/menus_grid_ctrl.class.php');


class Menus_WP extends TCMS_Admin_Page_W_Grid_UA {
	public function create_view($name = 'default') {
		$ret = new TCMS_Admin_Page_View($this, $name, 'modules/tangra_cms/pages/_menu/');

		return $ret;
	}


	protected function create_grid_ctrl() {
		$tvm = $this->get_tvm();
		$ret = new Menus_Grid_Ctrl('menus', $tvm, Tangra_Parameter_Method::GET);

		return $ret;
	 }
}

